package com.sino.operation.config.swagger.config;

import com.sino.operation.config.swagger.bean.SwaggerProperties;
import com.sino.operation.entity.UrlProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * TOD
 *
 * @author Administrator
 * date 2021/11/12 0012 0:21
 */
@Component
public class UrlConfig implements ApplicationRunner {


    @Autowired
    private SwaggerProperties swaggerProperties;

    @Autowired
    private UrlProperties data;
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println(data);
        System.out.println(swaggerProperties);
    }
}
